/**
 * @author Chenjd
 * @version 2010-08-17
 */
(function($){

    var proxied = $.fn.treeview;
    
    $.fn.treeview = function(url, args, callBack){
		var tree = this;
        $.post(url, args, function(data){
            var root = eval("(" + data + ")");
            proxied.call(tree, root, args);
			if(callBack) {
				callBack(root);
			}
        });
    }
    
})(jQuery)
